package ModelLayer;


/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Person
{
    private String name;
    private String address;
    private String city;
    private String postCode;
    private String eMail;
    public Person(String name, String address, String city, String postCode, String eMail)
    {
        this.name = name;
        this.address = address;
        this.city = city;
        this.postCode = postCode;
        this.eMail = eMail;
        
    }

    // SETTERS
    public void setName(String newName)
    {
        name = newName;
    }
    public void setAddress(String newAddress)
    {
        address = newAddress;
    }
    public void setCity(String newCity)
    {
        city = newCity;
    }
    public void setPostCode(String newPost)
    {
        postCode = newPost;
    }
    public void setEMail(String newEMail)
    {
        eMail = newEMail;
    }
    
    //GETTERS
    public String getName()
    {
        return name;
    }
    public String getAddress()
    {
        return address;
    }
    public String getCity()
    {
        return city;
    }
    public String getPostCode()
    {
        return postCode;
    }
    public String getEMail()
    {
        return eMail;
    }

}
